<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<html>
<head>
<title>标记问题订单</title>
<meta name="decorator" content="default" />
<script type="text/javascript">
	$(document).ready(function() {
	});
	function page(n, s) {
		$("#pageNo").val(n);
		$("#pageSize").val(s);
		$("#searchForm").submit();
		return false;
	}
</script>
</head>
<body>
	<ul class="nav nav-tabs">
		<li><a href="${ctx}/orders/tOrders/busOrderList">订单一览</a></li>
		<shiro:hasPermission name="orders:plat:edit">
		<li class="active"><a
			href="${ctx}/orders/tOrders/troubleForm?id=${tOrders.orderid}">标记问题订单</a></li>
		</shiro:hasPermission>
	</ul>
	<br />
	<form:form id="viewForm" modelAttribute="tOrders"
		class="form-horizontal" action="${ctx}/orders/tOrders/trouble">
		<form:hidden path="id" />
		<input type="hidden" name="t" value="${t}">
		<sys:message content="${message}" />
		<div class="control-group">
			<label class="control-label">订单号：</label>
			<div class="controls">
				<form:input path="orderid" htmlEscape="false" readonly="true" class="span4 digits" />
			</div>
		</div>
		<div class="control-group">
			<label class="control-label">订单名称：</label>
			<div class="controls">
				<form:input path="ordername" htmlEscape="false" readonly="true" class="span4" />
			</div>
		</div>
		<div class="control-group">
			<label class="control-label">订单日期：</label>
			<div class="controls">
				<input id='createDate' name='createDate' type='text' class="span4" readonly
							value ='<fmt:formatDate value="${tOrders.createDate }" pattern="yyyy-MM-dd HH:mm:ss"/>'/>
			</div>
		</div>
		<div class="control-group">
			<label class="control-label">问题订单原由：</label>
			<div class="controls">
				<form:input path="reason" htmlEscape="false" class="span4 required" />
			</div>
		</div>

		<div class="form-actions">
			<input id="btnCancel" class="btn" type="button" value="返 回"
				onclick="history.go(-1)" /> <input id="btnSubmit"
				class="btn btn-primary" type="submit" value="确定标记" />
		</div>
	</form:form>
</body>
</html>